package cn.iocoder.yudao.module.liveprice.iotdb;

import static cn.iocoder.yudao.module.liveprice.iotdb.IotDBConstants.PATH_CONF_PRICE;
import static cn.iocoder.yudao.module.liveprice.iotdb.IotDBConstants.PATH_REAL_PRICE;

public class IotDbSqlUtil {


    public static String queryRealPriceLast(String materialType) {
        return "SELECT LAST reclaim_price, seal_price FROM " + PATH_REAL_PRICE + "." + materialType;
    }
    public static String queryRealPriceLast() {
        return "SELECT LAST reclaim_price, seal_price FROM " + PATH_REAL_PRICE + ".*";
    }
    public static String queryConfPriceLast(String materialType) {
        return "SELECT LAST reclaim_price, seal_price FROM " + PATH_CONF_PRICE + "." + materialType;
    }
    public static String queryConfPriceLast() {
        return "SELECT LAST reclaim_price, seal_price FROM " + PATH_CONF_PRICE + ".*";
    }
}
